package com.bjqg.bjqg01.bjqg.adapter;

import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;

import com.bjqg.bjqg01.bjqg.R;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

/**
 * Created by bjqg01 on 2017/12/13.
 */

public class EntrusManageAdapter extends BaseQuickAdapter<String , BaseViewHolder>{

    public EntrusManageAdapter(@LayoutRes int layoutResId, @Nullable List<String> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {

        helper.setText(R.id.engineer_name,item.toString())
                .setText(R.id.engineer_id,item.toString());

    }
}
